package com.weichen.studentgameexchange.game.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDate;
/**
 * <p>
 * 
 * </p>
 *
 * @author 惟尘
 * @since 2025-02-01
 */
@Getter
@Setter
@ToString
@TableName("game_version")
@Schema(name = "GameVersion对象", description = "")
public class GameVersion implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 版本id，主键
     */
    @Schema(description = "版本id，主键")
    @TableId(value = "version_id", type = IdType.AUTO)
    private Long versionId;

    /**
     * 游戏id
     */
    @TableField("game_id")
    @Schema(description = "游戏id")
    private Long gameId;

    /**
     * 版本号
     */
    @Schema(description = "版本号")
    @TableField("version_number")
    private String versionNumber;

    /**
     * 更新日志
     */
    @Schema(description = "更新日志")
    @TableField("update_log")
    private String updateLog;

    /**
     * 发布日期
     */
    @Schema(description = "发布日期")
    @TableField("release_date")
    private LocalDate releaseDate;


}
